package zelix.hack.hacks.xray;

import zelix.hack.Hack;
import zelix.hack.HackCategory;

public class AntiAntiXrayMod extends Hack {
    public static boolean isFirst =true;
    public AntiAntiXrayMod() {
        super("Xray", HackCategory.VISUAL);
        setToggled(false);

    }

    XRay XRAY;
    @Override
    public void onEnable() {
        XRAY = new XRay();
        XRAY.onEnable();
        if (isFirst){
            isFirst = false;
        }
        super.onEnable();
    }
    @Override
    public void onDisable(){
        if(XRAY != null){
            XRAY.onDisable();
        }

    }
}
